﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ScrollChildBase : BaseUi {
    protected ScrollTool scrollTool;
    [HideInInspector]
    public int index;
    public virtual void init (int index, ScrollTool scrollTool) {
        this.scrollTool = scrollTool;
        this.index = index;
    }
    public virtual void refresh () { }
    //用于拖动时大小会变的效果
    public virtual void refreshScale (float scale) { }
}